package com.example.test.suppert.base.result;

import java.io.Serializable;

/**
 * Created by lsl on 2021/3/2.
 */
@SuppressWarnings("rawtypes")
public class SuccessResult extends BaseResult implements Serializable {
    private static final long serialVersionUID = -2336441373804233324L;

    public SuccessResult(Object data) {
        this();
        this.data = data;
    }

    public SuccessResult() {
        this.msg = "成功";
        this.success = true;
        this.code = SUCCESS_CODE;
    }
}
